<?php
/*
 * Created on 2011-5-13
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
// require_once 'json.php';
 
 function ErrReturn($maindo,$subdo,$result)
 {
 	$arr = array();
 	$arr['maindo']=$maindo;
 	$arr['subdo']=$subdo;
 	$arr['result']=$result;
 	return json_encode(gbk2utf8($arr));
 }
 
?>
